<template>
  <div>
    <el-breadcrumb separator-class="el-icon-arrow-right" class="crumbs-box">
      <strong class="crumbs-title">当前位置：</strong>
      <el-breadcrumb-item v-for="item,index in crumbsData" :key="index">
        <a :href="item.href?item.href:'javascript:void(0);'">{{item.name}}</a>
      </el-breadcrumb-item>
    </el-breadcrumb>
  </div>
</template>

<script>
export default {
  props: ['crumbsData']
}
</script>